package com.neusoft.elmboot.po.point;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Getter;

@Getter
public class UserPointTuple {
    @TableId
    private String tupleId;

    private String userId;

    private String name;

    private Integer amount;

    private Integer curAmount;

    public UserPointTuple(String userId, String name, Integer amount){
        this.tupleId = System.currentTimeMillis() + userId;
        this.userId = userId;
        this.name = name;
        this.amount = amount;
        this.curAmount = amount;
    }

}
